{% extends 'templates/main.volt' %}

{% block content %}


    <div class="breadcrumb">
        <span class="layui-breadcrumb">
            <a href="/">首页</a>
            <a><cite>机构</cite></a>
            <a><cite>详情</cite></a>
        </span>

    </div>

    <div class="layout-main">
            <div class="layout-content">
                <div class="article-info wrap">
                    <div class="title">{{agency.title}}</div>

                    <div class="content ke-content">
                    {{agency.content}}
    </div>
                                </div>

                        </div>
            <div class="layout-sidebar">
                <div class="sidebar">
                    <div class="layui-card">
        <div class="layui-card-header">相关课程</div>
        <div class="layui-card-body">

           {% for item in courseList %}
            <a href="/course/{{item.id}}">

            <div class="sidebar-course-card">
                            <div class="cover">
                                <img src="{{item.cover}}!avatar_160" alt="{{item.title}}">
                            </div>
                            <div class="info">
                                <div class="name layui-elip">
                                    <a href="/course/{{item.id}}" title="{{item.title}} ">{{item.title}}</a>
                                </div>
                                <div class="title layui-elip"></div>
                            </div>
                        </div>
            </a>
{% endfor %}

        </div>
    </div>            </div>
                            <div class="sidebar" id="sidebar-related" data-url="/question/57/related"></div>
            </div>
        </div>

{% endblock %}

{% block link_css %}
    {{ css_link('home/css/content.css') }}
{% endblock %}